using System.Data.Entity.ModelConfiguration;
using QDT.Core.Projects;

namespace QDT.Core.MSData.Mapping {

    public class ProjectFeildMapping : EntityTypeConfiguration<ProjectFeild>
    {
        public ProjectFeildMapping()
        {
            HasKey(x => x.ID);

            Ignore(x=>x.Name);

            Property(x => x.InnerName).HasColumnName("Name");

            ToTable(DB.TPref("deal_feild"));
        }
    }
}